package cn.com.utt.unms.vo;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.annotation.JSONField;

public class GraphQueryParam {

	private String[] hostNames;
	private String[] counters; // metric/sorted(tags)
	private String consolFun;
	private Long startTime;
	private Long endTime;
	private int step;

	@JSONField(name = "hostnames")
	public String[] getHostNames() {
		return hostNames;
	}

	public void setHostNames(String[] hostNames) {
		this.hostNames = hostNames;
	}

	@JSONField(name = "counters")
	public String[] getCounters() {
		return counters;
	}

	public void setCounters(String[] counters) {
		this.counters = counters;
	}

	@JSONField(name = "consol_fun")
	public String getConsolFun() {
		return consolFun;
	}

	public void setConsolFun(String consolFun) {
		this.consolFun = consolFun;
	}

	@JSONField(name = "start_time")
	public Long getStartTime() {
		return startTime;
	}

	public void setStartTime(Long startTime) {
		this.startTime = startTime;
	}

	@JSONField(name = "end_time")
	public Long getEndTime() {
		return endTime;
	}

	public void setEndTime(Long endTime) {
		this.endTime = endTime;
	}

	@JSONField(name = "step")
	public int getStep() {
		return step;
	}

	public void setStep(int step) {
		this.step = step;
	}

	public String toJson() {
		return JSON.toJSONString(this);
	}

}
